package com.google.android.gms.internal;

import java.io.IOException;

public final class zzbc extends zzflm<zzbc> {
    private Long zzeo = null;
    private Long zzep = null;
    public Long zzgc = null;
    public Long zzgd = null;
    public Long zzge = null;

    public zzbc() {
        this.zzpnr = -1;
    }

    public final /* synthetic */ zzfls zza(zzflj zzflj) throws IOException {
        while (true) {
            int zzcxx = zzflj.zzcxx();
            if (zzcxx == 0) {
                return this;
            }
            if (zzcxx == 8) {
                this.zzeo = Long.valueOf(zzflj.zzcyr());
            } else if (zzcxx == 16) {
                this.zzep = Long.valueOf(zzflj.zzcyr());
            } else if (zzcxx == 24) {
                this.zzgc = Long.valueOf(zzflj.zzcyr());
            } else if (zzcxx == 32) {
                this.zzgd = Long.valueOf(zzflj.zzcyr());
            } else if (zzcxx == 40) {
                this.zzge = Long.valueOf(zzflj.zzcyr());
            } else if (!super.zza(zzflj, zzcxx)) {
                return this;
            }
        }
    }

    public final void zza(zzflk zzflk) throws IOException {
        if (this.zzeo != null) {
            zzflk.zzf(1, this.zzeo.longValue());
        }
        if (this.zzep != null) {
            zzflk.zzf(2, this.zzep.longValue());
        }
        if (this.zzgc != null) {
            zzflk.zzf(3, this.zzgc.longValue());
        }
        if (this.zzgd != null) {
            zzflk.zzf(4, this.zzgd.longValue());
        }
        if (this.zzge != null) {
            zzflk.zzf(5, this.zzge.longValue());
        }
        super.zza(zzflk);
    }

    /* access modifiers changed from: protected */
    public final int zzq() {
        int zzq = super.zzq();
        if (this.zzeo != null) {
            zzq += zzflk.zzc(1, this.zzeo.longValue());
        }
        if (this.zzep != null) {
            zzq += zzflk.zzc(2, this.zzep.longValue());
        }
        if (this.zzgc != null) {
            zzq += zzflk.zzc(3, this.zzgc.longValue());
        }
        if (this.zzgd != null) {
            zzq += zzflk.zzc(4, this.zzgd.longValue());
        }
        return this.zzge != null ? zzq + zzflk.zzc(5, this.zzge.longValue()) : zzq;
    }
}
